<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ include file="/js/commons.jspf" %>
<%@taglib uri="/struts-tags" prefix="s"%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>表单模板管理</title>
</head>
<body>
<!-- 发布流程 -->
<s:form action="formTemplateAction_%{id==null ? 'add' : 'edit'}.action" enctype="multipart/form-data" method="POST">
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
		<tr>
			<td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td width="6%" height="19" valign="bottom"><div align="center"><img src="${pageContext.request.contextPath }/images/tb.gif" width="14" height="14" /></div></td>
									<td width="94%" valign="bottom"><span class="STYLE1">表单模板管理</span></td>
								</tr>
							</table></td>
							<td><div align="right"><span class="STYLE1">
		              </span></div></td>
						</tr>
					</table></td>
				</tr>
			</table></td>
		</tr>
		<tr>
			<td>
				<div align="left" class="STYLE21">
                    <s:hidden name="id"/>
					模板名称：<s:textfield name="name" cssStyle="width: 200px;"/><br/>
					所属流程：<s:select name="processDefinitionKey" cssStyle="width: 200px;"
								   list="#processDefinitionList"
									listKey="key" listValue="key">

					</s:select><br/>
					模板文件:<s:file name="upload" cssStyle="width: 200px;"/><br/>
					<input type="submit" value="上传模板文件" class="button_ok"/>
				</div>
			</td>
		</tr>
	</table>

</s:form>
</body>
</html>